<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

    <!-- JAVASCRIPT -->

    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jquery-1.4.2.min.js"></script>

    <script type="text/javascript">
      var BASIC_URL = "<?php echo $this->baseUrl() ?>";
      var IS_VIEW = "<?php echo $this->is_view ?>";
      var gridimgpath = '<?php echo $this->baseUrl() ?>/public/images/jqgrid/themes/steel/images';
      jQuery(document).ready(function() {
        if (IS_VIEW == 1) {
          jQuery('input').attr('disabled',true);
          jQuery('textarea').attr('disabled',true);
          jQuery('select').attr('disabled',true);
        }
      });
    </script>

    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jquery.maskedinput.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jquery-enter2tab.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jquery.datetimeentry.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jquery.validate.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/datepicker/jquery.datepick.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/datepicker/jquery.datepick-id.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/datepicker/jquery.datepick-validation.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jquery.format.1.05.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jquery.autotab.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jquery.formatCurrency.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jquery.number_format.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jquery.autocomplete.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/tooltip/lib/jquery.bgiframe.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/tooltip/lib/jquery.dimensions.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/tooltip/jquery.tooltip.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/tooltip/chili-1.7.pack.js"></script>
    <!--<script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jquery.event.drag.js"></script> -->
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/jqgrid/jquery.jqGrid.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/jquery/greybox/greybox.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/libform.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl() ?>/public/scripts/tabpane.js"></script>

    <!-- CSS -->
    <style type="text/css">@import "<?php echo $this->baseUrl() ?>/public/styles/jquery.datetimeentry.css";</style>
    <link rel="stylesheet" href="<?php echo $this->baseUrl() ?>/public/scripts/jquery/datepicker/jquery.datepick.css" />
    <link rel="stylesheet" href="<?php echo $this->baseUrl() ?>/public/styles/tabpane.css" type="text/css"/>
    <link rel="stylesheet" href="<?php echo $this->baseUrl() ?>/public/styles/jquery.autocomplete.css" type="text/css"/>
    <link rel="stylesheet" href="<?php echo $this->baseUrl() ?>/public/scripts/jquery/tooltip/jquery.tooltip.css" />
    <link rel="stylesheet" href="<?php echo $this->baseUrl() ?>/public/scripts/jquery/tooltip/screen.css" />
    <link rel="stylesheet" href="<?php echo $this->baseUrl() ?>/public/styles/general.css" type="text/css"></link>
    <link rel="stylesheet" href="<?php echo $this->baseUrl() ?>/public/scripts/jquery/greybox/greybox.css" type="text/css"></link>
    <link rel="stylesheet" href="<?php echo $this->baseUrl() ?>/public/images/jqgrid/themes/steel/grid.css"  type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php echo $this->baseUrl() ?>/public/images/jqgrid/themes/jqModal.css" type="text/css" media="screen"  />

  </head>

  <!-- OPEN BODY  -->
  <body style="overflow:inherit; width:100%; height:100%"> 